home *** CD-ROM | disk | FTP | other *** search
- > Giday all,
- >
- > just looking for some help in writing a tetris game. The bit I'd like some
- > help with is how you would check to see if the block had hit another
- > block and so on.
- >
- > Any help would be much appreciated.
- >
- > Ben Crowl
- >
- >
-
- A quick and easy way is to turn on elements in a 2d arraywhere the blocks
- are. If the array cheking is too slow, you could allocate a bank, and peek
- and poke into it according to offsets depending on the size of your drop
- area. I've never actually written a tetris game, this is just my first reaction to
- your problem without giving it a lot of thought :-) C-ya
- -Jedon
-
-
-